<legend class='hyc-legend'>
    <i class="fa fa-user-secret"></i>&nbsp;
    <span>企业用户列表</span>
</legend>
<div class="panel-title" style="padding-bottom: 12px;">
    <div class="btn btn-warning btn-sm" ui-sref="company-user-add">添加企业用户</div>
</div>
<table class="table table-bordered">
    <tr>
        <th class="text-center">姓名</th>
        <th class="text-center">手机号</th>
        <th class="text-left">邮箱</th>
        <th class="text-center">公司编码</th>
        <th class="text-left">公司名称</th>
        <th class="text-left">公司类型</th>
        <th class="text-left">所在地址</th>
        <th class="text-center">邀请码</th>
        <th class="text-center">邀请码有效期至</th>
        <th class="text-center">邀请用户数</th>
        <th class="text-center">创建时间</th>
    </tr>
    <tr ng-repeat="companyUser in companyUserInfo track by $index">
        <td class="text-center">{{companyUser.realName}}</td>
        <td class="text-center">{{companyUser.phone}}</td>
        <td class="text-left">{{companyUser.email}}</td>
        <td class="text-center">{{companyUser.companyCode}}</td>
        <td class="text-left">{{companyUser.companyName}}</td>
        <td class="text-center">
            {{companyUser.companyCategory == '30'?'承运企业':companyUser.companyCategory == '40'?'托运企业':''}}
        </td>
        <td class="text-left">{{companyUser.address}}</td>
        <td class="text-center">{{companyUser.inviteCode}}</td>
        <td class="text-center">{{companyUser.inviteCodePriod | date: 'yyyy-MM-dd'}}</td>
        <td class="text-center">{{companyUser.inviteCount}}</td>
        <td class="text-center">{{companyUser.createTime | date: 'yyyy-MM-dd'}}</td>
    </tr>
    <tr ng-if="companyUserInfo.length <= 0">
        <td colspan="11">
            <div class="hyc-color text-center">
                暂无企业用户数据
            </div>
        </td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="companyUserInfo.length > 0"></div>